﻿@{
    ViewBag.Title = "DiscussionPanel";
}

@{
    Layout = "~/Shared/_layoutPage.cshtml";
    var PageTitle = "Problem List"; 
}

@section title
{
    @PageTitle

}

@using (Html.BeginForm("DisplayProblemList", "DiscussionPanel", FormMethod.Post, new { @class = "background" }))
{
     <br/><div id="content"><h2 style="text-align: center;margin-bottom: -48px;margin-left: 200px;width: 535px;" ><b>Problem List</b></h2></div>
     
     <table id="discussionTable" style="margin-left: 50px;">
             <thead title="Click to Sort the List"> 
                <tr>
                    <th style="padding: 49px;">
                        Problems
                    </th>
                    <th>
                        Tags
                    </th>
                    <th></th>                    
                 </tr>
             </thead>
             <tbody >
             @for (int i = 0; i <= 10; i++)
             {
                  <tr> 
                    <td  width="70%";>       
                        SQL Problem
                    </td>
                    <td  width="20%";>       
                         Database
                    </td>
                    
                    <td width="20%";>  
                    <a href="ViewProblems"><u>View</u></a>     
                    </td>
                </tr>
             }
                 <br/>
            </tbody>
        </table>
}